package com.xinjian.jianba.dto;

import java.math.BigDecimal;

import com.xinjian.jianba.annotation.Validator;
import com.xinjian.jianba.exception.PageParameter;

public class IndexDto extends PageParameter {

	private static final long serialVersionUID = 1573851501102074450L;
	// 用户Id
	@Validator(nullable = false, description = "用户id")
	private Long id;
	//前端不要传入该参数,为了将id转换成String类型,数据库可以索引
	private String meetId;
	// 0：擦肩；1：同行；2:共度；3：身边
	private int type = 0;

	//	类型：0：男女；1：只看男；2:只看女
	private Integer meetType = 0;

	private BigDecimal lngfloat;

	private BigDecimal latfloat;
	
	private Integer[] meetSex;//设置擦肩,共度,同行的查看性别
	

	public Integer[] getMeetSex() {
		return meetSex;
	}

	public void setMeetSex(Integer[] meetSex) {
		this.meetSex = meetSex;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
		this.meetId=String.valueOf(id);
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public BigDecimal getLngfloat() {
		return lngfloat;
	}

	public void setLngfloat(BigDecimal lngfloat) {
		this.lngfloat = lngfloat;
	}

	public BigDecimal getLatfloat() {
		return latfloat;
	}

	public void setLatfloat(BigDecimal latfloat) {
		this.latfloat = latfloat;
	}

	public Integer getMeetType() {
		return meetType;
	}

	public void setMeetType(Integer meetType) {
		this.meetType = meetType;
	}

	public String getMeetId() {
		return meetId;
	}

}
